home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / Telnet 2.7b5 / source / tek / rg0.c next >
Encoding:
C/C++ Source or Header  |  1995-02-02  |  1.2 KB  |  91 lines  |  [TEXT/CWIE]

  1. /*
  2.  
  3. rgnull.c by Aaron Contorer for NCSA
  4. Copyright 1987, board of trustees, University of Illinois
  5.  
  6. routines for "null" device -- calling these routines
  7.     has no effect, but they are compatible with all RG calls.
  8.  
  9. */
  10.  
  11. #ifdef MPW
  12. #pragma segment TEKNULL
  13. #endif
  14.  
  15. #include "rg0.proto.h"
  16.  
  17. void    TEKNULLunload(void){}
  18.  
  19. short    RG0newwin(void)
  20. {
  21.     return(0);
  22. }
  23.  
  24. char *RG0devname(void)
  25. {
  26.     return(nil);
  27. }
  28.  
  29. void    RG0oneshort(short x)
  30. {
  31.     UNUSED_ARG(x)
  32. }
  33.  
  34. void    RG0void(void)
  35. {}
  36.  
  37. short    RG0returnshort(short x)
  38. {
  39.     UNUSED_ARG(x)
  40.     return 0;
  41. }
  42.  
  43. short    RG0pencolor(short w, short color)
  44. {
  45.     UNUSED_ARG(w)
  46.     UNUSED_ARG(color)
  47.     return 0;
  48. }
  49.  
  50. short    RG0point(short w, short x, short y)
  51. {
  52.     UNUSED_ARG(w)
  53.     UNUSED_ARG(x)
  54.     UNUSED_ARG(y)
  55.     return 0;
  56. }
  57.  
  58. short    RG0drawline(short w, short a, short b, short c, short d)
  59. {
  60.     UNUSED_ARG(w)
  61.     UNUSED_ARG(a)
  62.     UNUSED_ARG(b)
  63.     UNUSED_ARG(c)
  64.     UNUSED_ARG(d)
  65.     return 0;
  66. }
  67.  
  68. void    RG0dataline(short w, short data, short count)
  69. {
  70.     UNUSED_ARG(w)
  71.     UNUSED_ARG(data)
  72.     UNUSED_ARG(count)
  73. }
  74.  
  75. void    RG0charmode(short w, short rotation, short size)
  76. {
  77.     UNUSED_ARG(w)
  78.     UNUSED_ARG(rotation)
  79.     UNUSED_ARG(size)
  80. }
  81.  
  82. void    RG0info(short w, short a, short b, short c, short d, short v)
  83. {
  84.     UNUSED_ARG(w)
  85.     UNUSED_ARG(a)
  86.     UNUSED_ARG(b)
  87.     UNUSED_ARG(c)
  88.     UNUSED_ARG(d)
  89.     UNUSED_ARG(v)
  90. }
  91.